package com.boss.common.entity;

import java.io.Serializable;
import java.util.List;

/**
 * <br>Title: 分页查询返回值
 * <br>Description:分页查询返回值
 * <br>Author: 朱孝恒
 * <br>Date: 2019年12月06日 17:30
 */
public class PageDTO<T> implements Serializable {
    /**
     * 查询报表时向前台传递表头
     */
    private List<String> tableHeads;

    private List<T> rows;

    private Integer total;

    public List<String> getTableHeads() {
        return tableHeads;
    }

    public void setTableHeads(List<String> tableHeads) {
        this.tableHeads = tableHeads;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }
}
